div#menu
{
}
#menu ul.menu
{
  white-space: nowrap;
}
#menu ul.menu li
{
  display: inline-block;
  height: 35px;
  position: relative;
  font: bold 11px/35px Arial, Helvetica, sans-serif;
  color: #fff;
  float: left;
}

#menu ul.menu li div
{
  position: absolute;
  top: 35px;
  left: 0px;
  background: #fff;
}

#menu ul.menu li div div
{
  position: absolute;
  top: 0px;
  left: 188px;
}

/* Escaping style for lower levels */
#menu ul.menu li div ul li
{
  display: block;
  float: none;
  width: auto;
  height: auto;
}

/** Graphics **/

/* Horizontal sliding doors */
#menu ul.menu li a
{
  height: 35px;
  border-right: 1px solid #008ed0;
  padding: 0 14px;
  color: #fff;
  display: block;
}
#menu ul.menu li a:hover
{
  background: #008ed0;
}

#menu ul.menu li a.active
{
  background: url(images/nav_active_1x35.gif) repeat-x left top;
  color: #00aeef;
}
/* Escape Horizontal doors */
#menu ul.menu li div ul li a
{
  display: block;
  padding: 0px;
  margin: 0px;
  background: none;
  border: none;
}
#menu ul.menu li div ul li a:hover, #menu ul.menu li div ul li a.active
{
  background: none;
}
#menu ul.menu li div ul li a
{
  display: block;
  padding: 0px;
  background: none;
  height: auto;
  width: 165px;
  line-height: 25px;
  padding: 7px 0 7px 9px;
  white-space: normal;
  color: #333;
}

/* Vertical sliding doors */
#menu ul.menu li div
{
  width: 200px;
  padding-top: 1px;
  background: url(images/submenu-top.gif) no-repeat 0px top;
}

#menu ul.menu li div ul
{
  padding: 6px 6px 9px 6px;
  padding-top: 0;
  background: url(images/submenu-bottom.png) no-repeat 0px bottom;
}

/* Hover Effect on Submenus */
#menu ul.menu li.active ul li a
{
  color: #333;
  width: 165px;
}
#menu ul.menu li.active ul li a:hover
{
  color: #0075b8;
}

#menu ul.menu ul li a:hover
{
  color: #0075b8;
}


/* Main header line */
#menu
{
  height: auto;
}

/* Fonts */
#menu ul.menu li div ul li a
{
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 400;
}

/* Lines between li */
#menu ul.menu li div ul
{
  padding-bottom: 8px;
}

#menu ul.menu li div ul li:first-child
{
  border-top-width: 0px;
}


/* Menu logic */
#menu li > div
{
  visibility: hidden;
}
#menu li:hover > div
{
  visibility: visible;
}
/* */

/* Hover Effect on Submenus */
#menu ul.menu ul li:hover
{
  background-color: none;
}

/* Lines between li */
#menu ul.menu li div ul li
{
  background-image: url(images/hr.gif);
  background-repeat: repeat-x;
  background-position: left bottom;
}
#menu ul.menu ul a.parent, #menu ul.menu ul a.parent:hover
{
  background: url(images/arrow.gif) no-repeat right center;
  margin-right: -1px;
}


/* ie7 */
#menu ul.menu li
{ *zoom:1;
*display:inline;
}

#menu ul.menu li a
{ *zoom:1;
*display:inline;
}
/* IE6 */
* html #menu ul.menu li div ul
{
  background: url(images/submenu-bottom.gif) no-repeat 0px bottom;
}

/* Menu logic for IE6 */
#menu div
{
  _display: none;
}
#menu div li:hover div
{
  _visibility: visible;
  _display: block;
}
#menu div li a:hover li a:hover div
{
  _display: block;
}
#menu div li a:hover li a:hover li a:hover div
{
  _display: block;
}
/* */